package com.tubang.logistics.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.tubang.common.entity.BaseEntity;

/**
 * <p>
 * 物流公司运单-货品
 * </p>
 *
 * @author wsl
 * @since 2017-12-31
 */
@TableName("tb_logistics_order_goods")
public class LogisticsOrderGoodsEntity extends BaseEntity<LogisticsOrderGoodsEntity> {

    private static final long serialVersionUID = 1L;

	@TableField("goods_id")
	private String goodsId;
	@TableField("logistics_order_id")
	private String logisticsOrderId;
	/**
	 * "101":"待提货","102":"运输中","103":"待确认","104":"已完成"
	 */
	@TableField("status_code")
	private String statusCode;
	@TableField("status_code_desc")
	private String statusCodeDesc;

	public String getGoodsId() {
		return goodsId;
	}

	public LogisticsOrderGoodsEntity setGoodsId(String goodsId) {
		this.goodsId = goodsId;
		return this;
	}

	public String getLogisticsOrderId() {
		return logisticsOrderId;
	}

	public LogisticsOrderGoodsEntity setLogisticsOrderId(String logisticsOrderId) {
		this.logisticsOrderId = logisticsOrderId;
		return this;
	}

	public String getStatusCode() {
		return statusCode;
	}

	public void setStatusCode(String statusCode) {
		this.statusCode = statusCode;
	}

	public String getStatusCodeDesc() {
		return statusCodeDesc;
	}

	public void setStatusCodeDesc(String statusCodeDesc) {
		this.statusCodeDesc = statusCodeDesc;
	}

	@Override
	public String toString() {
		return "LogisticsOrderGoods{" +
			"goodsId=" + goodsId +
			", logisticsOrderId=" + logisticsOrderId +
			"}";
	}
}
